//
//  GRBaseView.m
//  HHMassage
//
//  Created by QFX on 2024/1/5.
//

#import "GRBaseView.h"

@implementation GRBaseView

- (void)awakeFromNib{
    [super awakeFromNib];
    [self setupViews];
    [self bindViewModel];
    [self updateLayoutConstraints];
}

- (instancetype)initWithFrame:(CGRect)frame{
    if (self == [super initWithFrame:frame]) {
        [self setupViews];
        [self bindViewModel];
        [self updateLayoutConstraints];
    }
    return self;
}

- (instancetype)init{
    if (self == [super init]) {
        [self setupViews];
        [self bindViewModel];
        [self updateLayoutConstraints];
    }
    return self;
}

- (void)bindViewModel{
    
}

- (void)setupViews{
    
}

- (void)updateLayoutConstraints{
    
}

@end
